<script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=CTNZCnWI1faDmbyMNmxkdAugZRTaU3WQ"></script>
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="c-username" class="col-xs-12 col-sm-2">{:__('Username')}:</label>
        <label class="">{$row.username}</label>
    </div>
    <div class="form-group">
        <label class="col-xs-12 col-sm-2">姓名:</label>
        <label class="">{$row.brand_name}</label>
    </div>

    <div class="form-group">
        <label class="col-xs-12 col-sm-2">{:__('余额')}:</label>
        <label class="">{$row.money}</label>
    </div>
    <div class="form-group">
        <label for="c-mobile" class="col-xs-12 col-sm-2">{:__('Mobile')}:</label>
        <label class="">{$row.mobile}</label>
    </div>

    <div class="form-group">
        <label for="c-mobile" class="col-xs-12 col-sm-2">{:__('充值金额')}:</label>
        <div class="col-xs-6 col-sm-2">
            <input id="c-money" data-rule="required;range(0~)"  class="form-control" name="row[money]" type="text" value="">
        </div>
    </div>
    <div id="searchResultPanel" style="border:1px solid #C0C0C0;width:150px;height:auto; display:none;"></div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <input type="hidden" name="row[id]" value="{$row.id|htmlentities}">
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
<style>
    .col-sm{
        width: 0%;
        top: 4px;
    }
    #l-map{height:450px;width:100%;}
    #r-result{width:100%; position: absolute; top: 10px; left: 10px}
    #maps{position: relative}
</style>